<%--
  Created by IntelliJ IDEA.
  User: 问瑞涛
  Date: 2019/8/31
  Time: 15:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <center>
        <table border="1" rules="all">
            <tr align="center" bgcolor="#f5f5dc">
                <td>id</td>
                <td>用户名</td>
                <td>密码</td>
                <td>年龄</td>
            </tr>
            <c:forEach var="u" items="${list}">
                <tr align="center" bgcolor="#f5f5dc">
                    <td>${u.id}</td>
                    <td>${u.username}</td>
                    <td>${u.password}</td>
                    <td>${u.age}</td>
                </tr>
            </c:forEach>
        </table>
    </center>
</body>
</html>
